<template>
	<v-checkbox-group v-model="selected" :vertical="true">
		<v-checkbox v-for="item in options" :key="item.value" :item="item" :indeterminate="hasIndeterminate" />
	</v-checkbox-group>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const selected = ref([]);
const options = [
	{ label: '选项1', value: '1' },
	{ label: '选项2', value: '2' },
	{ label: '选项3', value: '3' }
];
const hasIndeterminate = ref(true);
</script>
